<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link href="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"> 
    <link href="../font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="../css/home.css">
    <link rel="stylesheet" href="../css/style.css">
    
    <script src="../js/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="../js/home.js"></script>

</head>
<body class="page-container-bg-solid">
        <div class="page-header"><div class="top hidden-xs">
                <div class="top_left">
                    <input type="text" placeholder="search">
                    <i></i>
                </div>
                <div class="top_right">
                    <a href="../member/module_favorite_index.html"> <i class="heart"></i></a>
                    <a href="../login.html"><i class="user"></i></a>
                     <a href="../pages/cart.html"> <i class="cart"><span class="badge">4</span></i></a>
                </div>
            </div>
            <!-- 导航 -->
            <div class="container clearfix">
                <div class="logo ptb3 hidden-xs"><a href="../index.html"><img src="../images/logo.png" alt=""></a> </div>
                <nav class="navbar navbar-default">
                    <div class="container-fluid">
                        <!-- Brand and toggle get grouped for better mobile display -->
                        <div class="navbar-header">
                            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                                data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                                <span class="sr-only">Toggle navigation</span>
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                            </button>
                            <a class="navbar-brand hidden-lg hidden-md hidden-sm logop" href="../index.html"><img src="../images/logo.png" alt=""></a>
                        </div>
                        <!-- Collect the nav links, forms, and other content for toggling -->
                        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                            <ul class="nav navbar-nav">
                                <li><a href="../index.html">HOME</a></li>
                                <li><a href="./girl.html">GIRL</a></li>
                                <li><a href="./boy.html">BOY</a></li>
                                <li><a href="#">TODDLER GIRL</a></li>
                                <li><a href="#">TODDLER BOY</a></li>
                                <li><a href="#">NEWBORN</a></li>
                                <li><a href="#">FAMILY</a></li>
                                <li><a href="#">MOMENT</a></li>
                                <li class="active"><a href="./access.html">ACCESSORIES</a></li>
                            </ul>
                        </div><!-- /.navbar-collapse -->
                    </div><!-- /.container-fluid -->
                </nav>
            </div>
            
                <div class="page-header-menu">
                    <div class="container">
            
                        <!-- 调用网站栏目菜单 -->
                        <div class="hor-menu  ">
                            <ul class="nav navbar-nav">
                                <li id="dr_nav_0" class="menu-dropdown classic-menu-dropdown ">
                                    <a href="../index.html" title="商城首页">首页</a>
                                </li>
            
            
                                <!--第一层：调用栏目-->
                                
            
                                <!--调用所有独立模块-->
                                                                        <li class="menu-dropdown classic-menu-dropdown ">
                                    <a href="../index.html?s=mall" title="">商城</a>
                                </li>
                                                    
                            </ul>
                        </div>
                    </div>
                </div>
                <!-- END HEADER MENU -->
            </div><script type="text/javascript">
                $(function() {
                    dr_load_cart();
                });
            
                function jdr_uid(obj, uid){
                    var now = $(obj).prop("checked");
                    if (now == true) {
                        $('.jdr'+uid).prop("checked", true);
                    } else {
                        $('.jdr'+uid).prop("checked", false);
                    }
                };
                function jdr_all(obj){
                    var now = $(obj).prop("checked");
                    if (now == true) {
                        $('.jdcheckbox').prop("checked", true);
                    } else {
                        $('.jdcheckbox').prop("checked", false);
                    }
                };
                function dr_load_cart() {
                    $.ajax({type: "GET", url: "http://pos.com/index.php?s=order&c=cart&m=ajax_data&"+Math.random(), dataType:"jsonp",
                        success: function (data) {
                            $("#dr_cart").html(data.html);
                        }
                    });
                }
                function dr_set_num(num, id) {
                    $.ajax({type: "GET", url: "http://pos.com/index.php?s=order&c=cart&m=update_num&id="+id+"&num="+num+"&"+Math.random(), dataType:"jsonp",
                        success: function (data) {
                            if (data.status) {
                                // 重新载入
                                dr_load_cart();
                            } else {
                                $('#dr_update_'+id).html('<span style="color:#fff">'+data.code+'</span>');
                            }
                        }
                    });
                }
                function dr_update_num(op, id) {
                    var num = parseInt($("#dr_row_num_"+id).val());
                    if (isNaN(num) || num < 1) num = 0;
                    if (op) {
                        // 加操作
                        num++;
                    } else {
                        // 减操作
                        num--;
                        if (isNaN(num) || num < 1) num = 0;
                    }
                    $("#dr_row_num_"+id).val(num);
                    dr_set_num(num, id);
                }
                function dr_delete_all() {
                    var _data = $("#myform").serialize();
                    if ((_data.split('ids')).length-1 <= 0) {
                        dr_tips(lang['select_null'], 2);
                        return true;
                    }
                    $('#dr_delete_load_all').show();
                    $.ajax({type: "POST", dataType: "jsonp", url: "http://pos.com/index.php?s=order&c=cart&m=delete_all&"+Math.random(), data: _data, success: function (data) {
                        if (data.status) {
                            // 重新载入
                            dr_load_cart();
                        } else {
                            dr_tips(data.code);
                            $('#dr_delete_load_all').hide();
                        }
                    }});
                }
            
                function dr_delete(id) {
                    $('#dr_delete_load_'+id).show();
                    $.ajax({type: "GET", url: "http://pos.com/index.php?s=order&c=cart&m=delete&id="+id+"&"+Math.random(), dataType:"jsonp",
                        success: function (data) {
                            if (data.status) {
                                // 重新载入
                                dr_load_cart();
                            } else {
                                dr_tips(data.code);
                                $('#dr_delete_load_'+id).hide();
                            }
                        }
                    });
                }
            </script>
            
            <div class="page-container">
                <div class="page-content-wrapper">
                    <div class="page-content bg-h">
                        <div class="container">
            
            
            
                            <ul class="page-breadcrumb breadcrumb">
                                <li>
                                    <a href="http://pos.com/">首页</a>
                                    <i class="fa fa-angle-right"></i>
                                </li>
                                <li>
                                    <span>我的购物车</span>
                                </li>
                            </ul>
            
                            <!-- <div class="stepBlock">
                                <h2 class="first"></h2>
                                <p class="stepTxt">
                                    <span class="one selected">加入购物车</span>
                                    <span class="two">确认订单内容</span>
                                    <span class="three">成功提交并付款</span>
                                    <span class="four">确认收货并评论</span>
                                </p>
                            </div> -->
            
                            <div class="book-content">
                                <div class="commonTitle clearfix">
                                    <h4 class="fl fw">购物车商品</h4>
                                </div>
            
            
                            </div>
            
                            <form action="" id="myform" method="post">
                                <div class="page-content-inner" id="dr_cart">
                                    <div class="cart_loading"><img src="http://pos.com/statics/admin/images/loading-mini.gif" />&nbsp;数据加载中...</div>
                                </div>
                            </form>
            
            
                        </div>
                    </div>
                </div>
            </div>
            
            
             <!-- footer -->
         <!-- <div class="footer">
                <div class="container">
                    <div class="row">
                        <div class="col-xs-6 col-sm-4 col-md-4 item">
                            <h4><a href="../pages/about.html">SERVICE</a></h4>
                            <p><a href="../pages/about.html">Need Help?</a></p>
                            <p><a href="../pages/about.html">My Account</a></p>
                            <p><a href="../pages/about.html">Track Your Order</a></p>
                            <p><a href="../pages/about.html">Contact Us</a></p>
                            <p><a href="../pages/about.html">FAQs</a></p>               
                        </div>
                        <div class="col-xs-6 col-sm-4 col-md-4 item">
                            <h4><a href="../pages/about.html">INFORMATION</a></h4>
                            <p><a href="../pages/about.html">Who We Are</a></p>
                            <p><a href="../pages/about.html">Careers</a></p>
                            <p><a href="../pages/about.html">How To Work With Us</a></p>
                        </div>
                        <div class="col-xs-12 col-sm-4 col-md-4 item">
                            <h4 class="title"><a href="#">CONNECT</a></h4>
                            <div class="foot_icon text-center">
                                    <span class="glyphicon glyphicon-cloud
                                    "></span>
                                    <span class="glyphicon glyphicon-envelope
                                    "></span>
                                    <span class="glyphicon glyphicon-user
                                    "></span>
                                    <span class="glyphicon glyphicon-time
                                    "></span>
                            </div>
                            
                        </div>
                    </div>
                </div>    
            </div> -->
            
</body>

</html>